package com.heima.apis.user;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author xjs
 * @date 2022/9/5 17:43
 * description
 */
@FeignClient(value = "leadnews-user")
public interface IAPUserRealnameClient {

        @PostMapping("/api/v1/auth/list")
        public ResponseResult authsList(@RequestBody AuthDto authDto);

        @PostMapping("/api/v1/auth/authPass")
        public ResponseResult authPass(@RequestBody AuthDto authDto);

        @PostMapping("/api/v1/auth/authFail")
        public ResponseResult authFail(@RequestBody AuthDto authDto);

}
